#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>

int main()
{
	char arr[] = "12345 abcdef";
	int ret = atoi(arr);
	printf("%d\n", ret);
	return 0;
}